package com.be.beadmin.design.dto.output;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@HeadFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
@ContentFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
public class BomReviewMainExcelEx {
    @ExcelProperty("项目名称")
    private String projectName;
    @ExcelProperty("BOM编号")
    private String bomCode;
    @ExcelProperty("变更状态：待审核=0，通过=1，驳回=2")
    private Integer changeStatus;
    @ExcelProperty("申请人")
    private String userName;
    @ExcelProperty("版本")
    private Integer version;
    @ExcelProperty("小版本")
    private Integer versionSecond;
    @ExcelProperty("创建日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8"
    )
    private Date createTime;


//    @ExcelProperty("BOM行号")
//    private String bomSequence;
//    @ExcelProperty("变更是否成功：1- 是/0 -否")
//    private Integer changeSuccess;
//    @ExcelProperty("是否为最高版本")
//    private Integer isMax;
//    @ExcelProperty("审核备注")
//    private String memo;
//    @ExcelProperty("产品/柜体编号")
//    private String productCode;
//    @ExcelProperty("申请人id")
//    private String userId;


}
